package com.rds.common.core.domain.entity;
import com.alibaba.fastjson2.JSONObject;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 接收参数实体类
 *
 * @author libin
 */
public class DynamicVo
{
    /**
     * 表名
     */
    private String tableName;

    /**
     * 查询列
     */
    private String selectColumn;

    /**
     * id
     */
    private Long id;

    /**
     * ids
     */
    private Long[] ids;

    /**
     * 查询条件
     */
    private ArrayList<String> queryWrapper;

    /**
     * 连接条件
     */
    private ArrayList<JSONObject> joinWrapper;

    /**
     * 连接条件
     */
    private ArrayList<JSONObject> recursionWrapper;

    /**
     * 排序
     */
    private String orderBy;

    /**
     * 分组
     */
    private String groupBy;

    /**
     * 更新数据
     */
    private HashMap<String,Object> updateValue;

    /**
     * 更新数据
     */
    private Map<String, Object> updateData;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSelectColumn() {
        return selectColumn;
    }

    public void setSelectColumn(String selectColumn) {
        this.selectColumn = selectColumn;
    }

    public ArrayList<String> getQueryWrapper() {
        return queryWrapper;
    }

    public void setQueryWrapper(ArrayList<String> queryWrapper) {
        this.queryWrapper = queryWrapper;
    }

    public HashMap<String,Object> getUpdateValue() {
        return updateValue;
    }

    public void setUpdateValue(HashMap<String,Object> updateValue) {
        this.updateValue = updateValue;
    }

    public Map<String, Object> getUpdateData() {
        return updateData;
    }

    public void setUpdateData(Map<String, Object> updateData) {
        this.updateData = updateData;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getGroupBy() {
        return groupBy;
    }

    public void setGroupBy(String groupBy) {
        this.groupBy = groupBy;
    }

    public ArrayList<JSONObject> getJoinWrapper() {
        return joinWrapper;
    }

    public void setJoinWrapper(ArrayList<JSONObject> joinWrapper) {
        this.joinWrapper = joinWrapper;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }
}
